package sr.codemg.service;

import io.jsonwebtoken.Claims;
import sr.codemg.entity.SysButtons;
import sr.codemg.vm.Base;
import sr.codemg.vm.Selects;
import sr.codemg.vm.Tables;

import java.util.List;
import java.util.Map;

/**
 * 按钮信息
 **/
public interface SysButtonsService {

    SysButtons get(String id);

    Tables findList(Map<String, Object> params);

    Base.Response add(SysButtons entity);

    Base.Response update(SysButtons entity);

    Base.Response delete(String id);

    Selects.Response select(Selects.Request req);

    List<SysButtons> array(String menuKey, Claims claims);
}

